// FaceDetective class definition
// Include header files
#include "cv.h"
#include "highgui.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <time.h>
#include <ctype.h>
#include <iostream>

//int FaceDetective( int argc, char** argv );

class FaceDetective{

	public:

		FaceDetective();
		~FaceDetective();
		int report();
		int detect(std::string source);
		int record(int source, char* dstfolder);
		int SetSource(int src);

	private:
//		void detect_and_draw( IplImage* img );
		void FaceDetective::detect_and_draw( IplImage* img, static CvMemStorage* storage, static CvHaarClassifierCascade* cascade);
		int source;
};
